import React from 'react';
import {NavLink} from 'react-router-dom';
import {HomeOutlined,ShoppingCartOutlined,UserOutlined}  from '@ant-design/icons'

import './index.less';

const Tab =()=>(
    <footer>
        <NavLink to="/" exact><HomeOutlined /><span>首页</span></NavLink>
        <NavLink to="/cart"><ShoppingCartOutlined /><span>购物车</span></NavLink>
        <NavLink to="/profile"><UserOutlined /><span>个人中心</span></NavLink>
    </footer>
)

export default Tab;